package main

import "fmt"

type person struct {
	name string
	age int
}


func main() {
	//fmt.Println(person{"bob",20})
	//fmt.Println(person{name: "djijfi", age:11})
	//fmt.Println(person{name:"jfisj"})
	//
	//fmt.Println(&person{name:"djfid", age:11})


	s := person{name:"djifj", age:11}
	fmt.Println(s.name)

	sp := &s
	fmt.Println(sp.age)

	sp.age = 100
	fmt.Println(sp)
}
